﻿using System.Net;
using System.Linq;
using Daemon.Model;
using Microsoft.AspNetCore.Mvc;
using Daemon.Repository.Contract;
using System.Net.Http;
using Microsoft.AspNetCore.Http;
using Daemon.Common;
using System.Collections.Generic;
using Newtonsoft.Json;

namespace DaemonAPI
{
    [ApiController]
    [Route("daemonApi/[controller]/[action]")]
    public class SystemMenuController : BaseApiController<SystemMenu, ISystemMenuRepository>
    {
        private readonly IClientConfigRepository _clientConfigRepository;

        public SystemMenuController(ISystemMenuRepository repository,
        IHttpContextAccessor httpContextAccessor,
        IClientConfigRepository clientConfigRepository) : base(repository, httpContextAccessor)
        {
            _clientConfigRepository = clientConfigRepository;
        }
    }
}
